﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace PDFSignature.Helper
{
    public static class DbHelper
    {

        public static SqlSugarClient GetInstance()
        {
            SqlSugarClient db = new SqlSugarClient(new ConnectionConfig()
            {
                ConnectionString = "Data Source=./db.db",
                DbType = DbType.Sqlite,
                IsAutoCloseConnection = true
            });

            return db;
        }


    }
}
